package state.state.impl;

import state.OrderContext;
import state.state.OrderState;

/**
 * 具体状态 (Concrete States):已完成状态
 *
 * @author Liu Yicong
 * @date 2025/9/25
 */
public class DeliveredState implements OrderState {
	@Override
	public void processOrder(OrderContext context) {
		System.out.println("订单已完成，无需再次处理。");
	}

	@Override
	public void cancelOrder(OrderContext context) {
		System.out.println("订单已完成，无法取消。");
	}
}
